package com.wdd.recoveryvehicle.loginUser;

import com.wdd.recoveryvehicle.loginUser.bean.LoginUserVB;
import com.wdd.recoveryvehicle.loginUser.service.LoginUserService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class LoginUser {

    @Autowired
    private LoginUserService loginUserService;

    void selectLoginUserByUserNickname() {

        LoginUserVB loginUserVB = loginUserService.selectLoginUserVBByUserNickname("武东东");

        System.out.println(loginUserVB!=null);

        System.out.println(loginUserVB.getUser_password());

    }




}
